package com.example.mapper;

import com.example.entity.Admissions;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdmissionsMapper {
    /**
     * 新增
     */
    int insert(Admissions Admissions);

    /**
     * 删除
     */
    int deleteById(Integer id);

    /**
     * 修改
     */
    int updateById(Admissions Admissions);

    /**
     * 根据ID查询
     */
    Admissions selectById(Integer id);

    /**
     * 查询所有
     */
    List<Admissions> selectAll(Admissions Admissions);
}
